package com.yunyao.dao.model;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;

/**
 * <p>
 * 用户表
 * </p>
 *
 * @author xingjishuai
 * @since 2024-07-02
 */
@Getter
@Setter
@TableName("bamu_org")
public class BamuOrg {

    /**
     * 主键id
     */
    private String id;

    /**
     * 租户ID
     */
    @TableField(value = "tenant_id", fill = FieldFill.INSERT)
    private String tenantId;

    private String orgType;

    /**
     * 项目编码
     */
    private String orgCode;

    /**
     * 账号
     */
    private String orgName;

    /**
     * 项目简称
     */
    private String orgCredit;

    /**
     * 用户编号
     */
    private String regCapital;

    @TableField("`owner`")
    private String owner;

    private String ownerIdcard;

    private String companyType;

    private String companyNature;

    private String contactName;

    private String contactIdcard;

    private String contactMobile;

    private String contactEmail;

    private String companyAddress;

    private String provinceId;

    private String provinceName;

    private String cityId;

    private String cityName;

    private String districtId;

    private String districtName;

    private String companyBusiness;

    private String depositBank;

    private String bankAccount;

    private String bankAccountName;

    private String bankLinkName;

    private String taxpayerCategory;

    private String businessLicense;

    private String ownerIdcardFront;

    private String ownerIdcardBack;

    private String bankLicense;

    private String otherFile;

    private String taxType;

    /**
     * 姓名
     */
    private String deptId;

    /**
     * 昵称
     */
    private String deptName;

    /**
     * 状态(1->启用,2->冻结）
     */
    @TableField("`status`")
    private Integer status;

    /**
     * 是否已删除
     */
    private Integer isDeleted;

    /**
     * 创建时间
     */
    private Date createdAt;

    /**
     * 创建者
     */
    private String createdBy;

    /**
     * 更新时间
     */
    private Date updatedAt;

    /**
     * 更新者
     */
    private String updatedBy;

    /**
     * 用户角色ID集合逗号分隔
     */
    private String roleId;

    /**
     * 用户的岗位ID
     */
    private String postId;

    /**
     * 创建部门
     */
    private String createDept;

    /**
     * 过期时间
     */
    private Date expireTime;
}
